home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2002 #3 / Amiga Plus CD - 2002 - No. 03.iso / AmiSoft / Dev / Gg / Php_430_bin.lha / php-4.3.0-bin / lib / php.ini-recommended < prev    next >
Encoding:
INI File  |  2002-12-26  |  37.5 KB  |  1,089 lines

  1. [PHP]
  2.  
  3. ;;;;;;;;;;;;;;;;;;;
  4. ; About this file ;
  5. ;;;;;;;;;;;;;;;;;;;
  6. ;
  7. ; This is the recommended, PHP 4-style version of the php.ini-dist file.  It
  8. ; sets some non standard settings, that make PHP more efficient, more secure,
  9. ; and encourage cleaner coding.
  10. ; The price is that with these settings, PHP may be incompatible with some
  11. ; applications, and sometimes, more difficult to develop with.  Using this
  12. ; file is warmly recommended for production sites.  As all of the changes from
  13. ; the standard settings are thoroughly documented, you can go over each one,
  14. ; and decide whether you want to use it or not.
  15. ;
  16. ; For general information about the php.ini file, please consult the php.ini-dist
  17. ; file, included in your PHP distribution.
  18. ;
  19. ; This file is different from the php.ini-dist file in the fact that it features
  20. ; different values for several directives, in order to improve performance, while
  21. ; possibly breaking compatibility with the standard out-of-the-box behavior of
  22. ; PHP 3.  Please make sure you read what's different, and modify your scripts
  23. ; accordingly, if you decide to use this file instead.
  24. ;
  25. ; - register_globals = Off         [Security, Performance]
  26. ;     Global variables are no longer registered for input data (POST, GET, cookies,
  27. ;     environment and other server variables).  Instead of using $foo, you must use
  28. ;     you can use $_REQUEST["foo"] (includes any variable that arrives through the
  29. ;     request, namely, POST, GET and cookie variables), or use one of the specific
  30. ;     $_GET["foo"], $_POST["foo"], $_COOKIE["foo"] or $_FILES["foo"], depending
  31. ;     on where the input originates.  Also, you can look at the
  32. ;     import_request_variables() function.
  33. ;     Note that register_globals is going to be depracated (i.e., turned off by
  34. ;     default) in the next version of PHP, because it often leads to security bugs.
  35. ;     Read http://php.net/manual/en/security.registerglobals.php for further
  36. ;     information.
  37. ; - display_errors = Off           [Security]
  38. ;     With this directive set to off, errors that occur during the execution of
  39. ;     scripts will no longer be displayed as a part of the script output, and thus,
  40. ;     will no longer be exposed to remote users.  With some errors, the error message
  41. ;     content may expose information about your script, web server, or database
  42. ;     server that may be exploitable for hacking.  Production sites should have this
  43. ;     directive set to off.
  44. ; - log_errors = On                [Security]
  45. ;     This directive complements the above one.  Any errors that occur during the
  46. ;     execution of your script will be logged (typically, to your server's error log,
  47. ;     but can be configured in several ways).  Along with setting display_errors to off,
  48. ;     this setup gives you the ability to fully understand what may have gone wrong,
  49. ;     without exposing any sensitive information to remote users.
  50. ; - output_buffering = 4096        [Performance]
  51. ;     Set a 4KB output buffer.  Enabling output buffering typically results in less
  52. ;     writes, and sometimes less packets sent on the wire, which can often lead to
  53. ;     better performance.  The gain this directive actually yields greatly depends
  54. ;     on which Web server you're working with, and what kind of scripts you're using.
  55. ; - register_argc_argv = Off       [Performance]
  56. ;     Disables registration of the somewhat redundant $argv and $argc global
  57. ;     variables.
  58. ; - magic_quotes_gpc = Off         [Performance]
  59. ;     Input data is no longer escaped with slashes so that it can be sent into
  60. ;     SQL databases without further manipulation.  Instead, you should use the
  61. ;     function addslashes() on each input element you wish to send to a database.
  62. ; - variables_order = "GPCS"       [Performance]
  63. ;     The environment variables are not hashed into the $HTTP_ENV_VARS[].  To access
  64. ;     environment variables, you can use getenv() instead.
  65. ; - error_reporting = E_ALL        [Code Cleanliness, Security(?)]
  66. ;     By default, PHP surpresses errors of type E_NOTICE.  These error messages
  67. ;     are emitted for non-critical errors, but that could be a symptom of a bigger
  68. ;     problem.  Most notably, this will cause error messages about the use
  69. ;     of uninitialized variables to be displayed.
  70. ; - allow_call_time_pass_reference = Off     [Code cleanliness]
  71. ;     It's not possible to decide to force a variable to be passed by reference
  72. ;     when calling a function.  The PHP 4 style to do this is by making the
  73. ;     function require the relevant argument by reference.
  74.  
  75.  
  76. ;;;;;;;;;;;;;;;;;;;;
  77. ; Language Options ;
  78. ;;;;;;;;;;;;;;;;;;;;
  79.  
  80. ; Enable the PHP scripting language engine under Apache.
  81. engine = On
  82.  
  83. ; Allow the <? tag.  Otherwise, only <?php and <script> tags are recognized.  
  84. ; NOTE: Using short tags should be avoided when developing applications or
  85. ; libraries that are meant for redistribution, or deployment on PHP
  86. ; servers which are not under your control, because short tags may not
  87. ; be supported on the target server. For portable, redistributable code,
  88. ; be sure not to use short tags.
  89. short_open_tag = On
  90.  
  91. ; Allow ASP-style <% %> tags.
  92. asp_tags = Off
  93.  
  94. ; The number of significant digits displayed in floating point numbers.
  95. precision    =  14
  96.  
  97. ; Enforce year 2000 compliance (will cause problems with non-compliant browsers)
  98. y2k_compliance = On
  99.  
  100. ; Output buffering allows you to send header lines (including cookies) even
  101. ; after you send body content, at the price of slowing PHP's output layer a
  102. ; bit.  You can enable output buffering during runtime by calling the output
  103. ; buffering functions.  You can also enable output buffering for all files by
  104. ; setting this directive to On.  If you wish to limit the size of the buffer
  105. ; to a certain size - you can use a maximum number of bytes instead of 'On', as
  106. ; a value for this directive (e.g., output_buffering=4096).
  107. output_buffering = 4096
  108.  
  109. ; You can redirect all of the output of your scripts to a function.  For
  110. ; example, if you set output_handler to "mb_output_handler", character
  111. ; encoding will be transparently converted to the specified encoding.
  112. ; Setting any output handler automatically turns on output buffering.
  113. ; Note: People who wrote portable scripts should not depend on this ini
  114. ;       directive. Instead, explicitly set the output handler using ob_start().
  115. ;       Using this ini directive may cause problems unless you know what script 
  116. ;       is doing.
  117. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
  118. ;       and you cannot use both "ob_gzhandler" and "zlib.output_compression". 
  119. ;output_handler =
  120.  
  121. ; Transparent output compression using the zlib library
  122. ; Valid values for this option are 'off', 'on', or a specific buffer size
  123. ; to be used for compression (default is 4KB)
  124. ; Note: Resulting chunk size may vary due to nature of compression. PHP 
  125. ;       outputs chunks that are few handreds bytes each as a result of compression. 
  126. ;       If you want larger chunk size for better performence, enable output_buffering 
  127. ;       also. 
  128. ; Note: output_handler must be empty if this is set 'On' !!!!
  129. ;       Instead you must use zlib.output_handler.
  130. zlib.output_compression = Off
  131.  
  132. ; You cannot specify additional output handlers if zlib.output_compression
  133. ; is activated here. This setting does the same as output_handler but in
  134. ; a different order.
  135. ;zlib.output_handler =
  136.  
  137. ; Implicit flush tells PHP to tell the output layer to flush itself
  138. ; automatically after every output block.  This is equivalent to calling the
  139. ; PHP function flush() after each and every call to print() or echo() and each
  140. ; and every HTML block.  Turning this option on has serious performance
  141. ; implications and is generally recommended for debugging purposes only.
  142. implicit_flush = Off
  143.  
  144. ; The unserialize callback function will called (with the undefind class'
  145. ; name as parameter), if the unserializer finds an undefined class
  146. ; which should be instanciated.
  147. ; A warning appears if the specified function is not defined, or if the
  148. ; function doesn't include/implement the missing class.
  149. ; So only set this entry, if you really want to implement such a 
  150. ; callback-function.
  151. unserialize_callback_func=
  152.  
  153. ; Whether to enable the ability to force arguments to be passed by reference
  154. ; at function call time.  This method is deprecated and is likely to be
  155. ; unsupported in future versions of PHP/Zend.  The encouraged method of
  156. ; specifying which arguments should be passed by reference is in the function
  157. ; declaration.  You're encouraged to try and turn this option Off and make
  158. ; sure your scripts work properly with it in order to ensure they will work
  159. ; with future versions of the language (you will receive a warning each time
  160. ; you use this feature, and the argument will be passed by value instead of by
  161. ; reference).
  162. allow_call_time_pass_reference = Off
  163.  
  164. ;
  165. ; Safe Mode
  166. ;
  167. safe_mode = Off
  168.  
  169. ; By default, Safe Mode does a UID compare check when
  170. ; opening files. If you want to relax this to a GID compare,
  171. ; then turn on safe_mode_gid.
  172. safe_mode_gid = Off
  173.  
  174. ; When safe_mode is on, UID/GID checks are bypassed when
  175. ; including files from this directory and its subdirectories.
  176. ; (directory must also be in include_path or full path must
  177. ; be used when including)
  178. safe_mode_include_dir =                                
  179.  
  180. ; When safe_mode is on, only executables located in the safe_mode_exec_dir
  181. ; will be allowed to be executed via the exec family of functions.
  182. safe_mode_exec_dir =
  183.  
  184. ; Setting certain environment variables may be a potential security breach.
  185. ; This directive contains a comma-delimited list of prefixes.  In Safe Mode,
  186. ; the user may only alter environment variables whose names begin with the
  187. ; prefixes supplied here.  By default, users will only be able to set
  188. ; environment variables that begin with PHP_ (e.g. PHP_FOO=BAR).
  189. ;
  190. ; Note:  If this directive is empty, PHP will let the user modify ANY
  191. ; environment variable!
  192. safe_mode_allowed_env_vars = PHP_
  193.  
  194. ; This directive contains a comma-delimited list of environment variables that
  195. ; the end user won't be able to change using putenv().  These variables will be
  196. ; protected even if safe_mode_allowed_env_vars is set to allow to change them.
  197. safe_mode_protected_env_vars = LD_LIBRARY_PATH
  198.  
  199. ; open_basedir, if set, limits all file operations to the defined directory
  200. ; and below.  This directive makes most sense if used in a per-directory
  201. ; or per-virtualhost web server configuration file. This directive is
  202. ; *NOT* affected by whether Safe Mode is turned On or Off.
  203. ;open_basedir =
  204.  
  205. ; This directive allows you to disable certain functions for security reasons.
  206. ; It receives a comma-delimited list of function names. This directive is
  207. ; *NOT* affected by whether Safe Mode is turned On or Off.
  208. disable_functions =
  209.  
  210. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
  211. ; <font color="??????"> would work.
  212. ;highlight.string  = #DD0000
  213. ;highlight.comment = #FF9900
  214. ;highlight.keyword = #007700
  215. ;highlight.bg      = #FFFFFF
  216. ;highlight.default = #0000BB
  217. ;highlight.html    = #000000
  218.  
  219.  
  220. ;
  221. ; Misc
  222. ;
  223. ; Decides whether PHP may expose the fact that it is installed on the server
  224. ; (e.g. by adding its signature to the Web server header).  It is no security
  225. ; threat in any way, but it makes it possible to determine whether you use PHP
  226. ; on your server or not.
  227. expose_php = On
  228.  
  229.  
  230. ;;;;;;;;;;;;;;;;;;;
  231. ; Resource Limits ;
  232. ;;;;;;;;;;;;;;;;;;;
  233.  
  234. max_execution_time = 30     ; Maximum execution time of each script, in seconds
  235. max_input_time = 60    ; Maximum amount of time each script may spend parsing request data
  236. memory_limit = 8M      ; Maximum amount of memory a script may consume (8MB)
  237.  
  238.  
  239. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  240. ; Error handling and logging ;
  241. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  242.  
  243. ; error_reporting is a bit-field.  Or each number up to get desired error
  244. ; reporting level
  245. ; E_ALL             - All errors and warnings
  246. ; E_ERROR           - fatal run-time errors
  247. ; E_WARNING         - run-time warnings (non-fatal errors)
  248. ; E_PARSE           - compile-time parse errors
  249. ; E_NOTICE          - run-time notices (these are warnings which often result
  250. ;                     from a bug in your code, but it's possible that it was
  251. ;                     intentional (e.g., using an uninitialized variable and
  252. ;                     relying on the fact it's automatically initialized to an
  253. ;                     empty string)
  254. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
  255. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
  256. ;                     initial startup
  257. ; E_COMPILE_ERROR   - fatal compile-time errors
  258. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  259. ; E_USER_ERROR      - user-generated error message
  260. ; E_USER_WARNING    - user-generated warning message
  261. ; E_USER_NOTICE     - user-generated notice message
  262. ;
  263. ; Examples:
  264. ;
  265. ;   - Show all errors, except for notices
  266. ;
  267. ;error_reporting = E_ALL & ~E_NOTICE
  268. ;
  269. ;   - Show only errors
  270. ;
  271. ;error_reporting = E_COMPILE_ERROR|E_ERROR|E_CORE_ERROR
  272. ;
  273. ;   - Show all errors
  274. ;
  275. error_reporting  =  E_ALL
  276.  
  277. ; Print out errors (as a part of the output).  For production web sites,
  278. ; you're strongly encouraged to turn this feature off, and use error logging
  279. ; instead (see below).  Keeping display_errors enabled on a production web site
  280. ; may reveal security information to end users, such as file paths on your Web
  281. ; server, your database schema or other information.
  282. display_errors = Off
  283.  
  284. ; Even when display_errors is on, errors that occur during PHP's startup
  285. ; sequence are not displayed.  It's strongly recommended to keep
  286. ; display_startup_errors off, except for when debugging.
  287. display_startup_errors = Off
  288.  
  289. ; Log errors into a log file (server-specific log, stderr, or error_log (below))
  290. ; As stated above, you're strongly advised to use error logging in place of
  291. ; error displaying on production web sites.
  292. log_errors = On
  293.  
  294. ; Set maximum length of log_errors. In error_log information about the source is
  295. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
  296. log_errors_max_len = 1024
  297.  
  298. ; Do not log repeated messages. Repeated errors must occur in same file on same
  299. ; line until ignore_repeated_source is set true.
  300. ignore_repeated_errors = Off
  301.  
  302. ; Ignore source of message when ignoring repeated messages. When this setting 
  303. ; is On you will not log errors with repeated messages from different files or
  304. ; sourcelines.
  305. ignore_repeated_source = Off
  306.  
  307. ; If this parameter is set to Off, then memory leaks will not be shown (on
  308. ; stdout or in the log). This has only effect in a debug compile, and if 
  309. ; error reporting includes E_WARNING in the allowed list
  310. report_memleaks = On
  311.  
  312. ; Store the last error/warning message in $php_errormsg (boolean).
  313. track_errors = Off
  314.  
  315. ; Disable the inclusion of HTML tags in error messages.
  316. ;html_errors = Off
  317.  
  318. ; If html_errors is set On PHP produces clickable error messages that direct 
  319. ; to a page describing the error or function causing the error in detail.
  320. ; You can download a copy of the PHP manual from http://www.php.net/docs.php 
  321. ; and change docref_root to the base URL of your local copy including the
  322. ; leading '/'. You must also specify the file extension being used including 
  323. ; the dot.
  324. ;docref_root = /phpmanual/
  325. ;docref_ext = .html
  326.   
  327. ; String to output before an error message.
  328. ;error_prepend_string = "<font color=ff0000>"
  329.  
  330. ; String to output after an error message.
  331. ;error_append_string = "</font>"
  332.  
  333. ; Log errors to specified file.
  334. ;error_log = filename
  335.  
  336. ; Log errors to syslog (Event Log on NT, not valid in Windows 95).
  337. ;error_log = syslog
  338.  
  339.  
  340. ;;;;;;;;;;;;;;;;;
  341. ; Data Handling ;
  342. ;;;;;;;;;;;;;;;;;
  343. ;
  344. ; Note - track_vars is ALWAYS enabled as of PHP 4.0.3
  345.  
  346. ; The separator used in PHP generated URLs to separate arguments.
  347. ; Default is "&". 
  348. ;arg_separator.output = "&"
  349.  
  350. ; List of separator(s) used by PHP to parse input URLs into variables.
  351. ; Default is "&". 
  352. ; NOTE: Every character in this directive is considered as separator!
  353. ;arg_separator.input = ";&"
  354.  
  355. ; This directive describes the order in which PHP registers GET, POST, Cookie,
  356. ; Environment and Built-in variables (G, P, C, E & S respectively, often
  357. ; referred to as EGPCS or GPC).  Registration is done from left to right, newer
  358. ; values override older values.
  359. variables_order = "GPCS"
  360.  
  361. ; Whether or not to register the EGPCS variables as global variables.  You may
  362. ; want to turn this off if you don't want to clutter your scripts' global scope
  363. ; with user data.  This makes most sense when coupled with track_vars - in which
  364. ; case you can access all of the GPC variables through the $HTTP_*_VARS[],
  365. ; variables.
  366. ;
  367. ; You should do your best to write your scripts so that they do not require
  368. ; register_globals to be on;  Using form variables as globals can easily lead
  369. ; to possible security problems, if the code is not very well thought of.
  370. register_globals = Off
  371.  
  372. ; This directive tells PHP whether to declare the argv&argc variables (that
  373. ; would contain the GET information).  If you don't use these variables, you
  374. ; should turn it off for increased performance.
  375. register_argc_argv = Off
  376.  
  377. ; Maximum size of POST data that PHP will accept.
  378. post_max_size = 8M
  379.  
  380. ; This directive is deprecated.  Use variables_order instead.
  381. gpc_order = "GPC"
  382.  
  383. ; Magic quotes
  384. ;
  385.  
  386. ; Magic quotes for incoming GET/POST/Cookie data.
  387. magic_quotes_gpc = Off
  388.  
  389. ; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
  390. magic_quotes_runtime = Off    
  391.  
  392. ; Use Sybase-style magic quotes (escape ' with '' instead of \').
  393. magic_quotes_sybase = Off
  394.  
  395. ; Automatically add files before or after any PHP document.
  396. auto_prepend_file =
  397. auto_append_file =
  398.  
  399. ; As of 4.0b4, PHP always outputs a character encoding by default in
  400. ; the Content-type: header.  To disable sending of the charset, simply
  401. ; set it to be empty.
  402. ;
  403. ; PHP's built-in default is text/html
  404. default_mimetype = "text/html"
  405. ;default_charset = "iso-8859-1"
  406.  
  407. ; Always populate the $HTTP_RAW_POST_DATA variable.                               
  408. ;always_populate_raw_post_data = On
  409.  
  410. ; Allow handling of WebDAV http requests within PHP scripts (eg.
  411. ; PROPFIND, PROPPATCH, MOVE, COPY, etc..)
  412. ; If you want to get the post data of those requests, you have to
  413. ; set always_populate_raw_post_data as well.
  414. ;allow_webdav_methods = On
  415.  
  416. ;;;;;;;;;;;;;;;;;;;;;;;;;
  417. ; Paths and Directories ;
  418. ;;;;;;;;;;;;;;;;;;;;;;;;;
  419.  
  420. ; UNIX: "/path1:/path2"  
  421. ;include_path = ".:/php/includes"
  422. ;
  423. ; Windows: "\path1;\path2"
  424. ;include_path = ".;c:\php\includes"
  425.  
  426. ; The root of the PHP pages, used only if nonempty.
  427. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
  428. ; if you are running php as a CGI under any web server (other than IIS)
  429. ; see documentation for security issues.  The alternate is to use the
  430. ; cgi.force_redirect configuration below
  431. doc_root =
  432.  
  433. ; The directory under which PHP opens the script using /~usernamem used only
  434. ; if nonempty.
  435. user_dir =
  436.  
  437. ; Directory in which the loadable extensions (modules) reside.
  438. extension_dir = ./
  439.  
  440. ; Whether or not to enable the dl() function.  The dl() function does NOT work
  441. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
  442. ; disabled on them.
  443. enable_dl = On
  444.  
  445. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
  446. ; most web servers.  Left undefined, PHP turns this on by default.  You can
  447. ; turn it off here AT YOUR OWN RISK
  448. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
  449. ; cgi.force_redirect = 1
  450.  
  451. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape 
  452. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
  453. ; will look for to know it is OK to continue execution.  Setting this variable MAY
  454. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
  455. ; cgi.redirect_status_env = ;
  456.  
  457. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
  458. ; security tokens of the calling client.  This allows IIS to define the
  459. ; security context that the request runs under.  mod_fastcgi under Apache
  460. ; does not currently support this feature (03/17/2002)
  461. ; Set to 1 if running under IIS.  Default is zero.
  462. ; fastcgi.impersonate = 1;
  463.  
  464. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
  465. ; use when sending HTTP response code. If it's set 0 PHP sends Status: header that
  466. ; is supported by Apache. When this option is set to 1 PHP will send
  467. ; RFC2616 compliant header.
  468. ; Set to 1 if running under IIS.  Default is zero.
  469. ;cgi.rfc2616_headers = 0 
  470.  
  471.  
  472. ;;;;;;;;;;;;;;;;
  473. ; File Uploads ;
  474. ;;;;;;;;;;;;;;;;
  475.  
  476. ; Whether to allow HTTP file uploads.
  477. file_uploads = On
  478.  
  479. ; Temporary directory for HTTP uploaded files (will use system default if not
  480. ; specified).
  481. ;upload_tmp_dir =
  482.  
  483. ; Maximum allowed size for uploaded files.
  484. upload_max_filesize = 2M
  485.  
  486.  
  487. ;;;;;;;;;;;;;;;;;;
  488. ; Fopen wrappers ;
  489. ;;;;;;;;;;;;;;;;;;
  490.  
  491. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
  492. allow_url_fopen = On
  493.  
  494. ; Define the anonymous ftp password (your email address)
  495. ;from="john@doe.com"
  496.  
  497. ; Define the user agent for php to send
  498. ;user_agent="PHP"
  499.  
  500. ; Default timeout for socket based streams (seconds)
  501. default_socket_timeout = 60
  502.  
  503. ; If your scripts have to deal with files from Macintosh systems,
  504. ; or you are running on a Mac and need to deal with files from
  505. ; unix or win32 systems, setting this flag will cause PHP to
  506. ; automatically detect the EOL character in those files so that
  507. ; fgets() and file() will work regardless of the source of the file.
  508. ; auto_detect_line_endings = Off
  509.  
  510.  
  511. ;;;;;;;;;;;;;;;;;;;;;;
  512. ; Dynamic Extensions ;
  513. ;;;;;;;;;;;;;;;;;;;;;;
  514. ;
  515. ; If you wish to have an extension loaded automatically, use the following
  516. ; syntax:
  517. ;
  518. ;   extension=modulename.extension
  519. ;
  520. ; For example, on Windows:
  521. ;
  522. ;   extension=msql.dll
  523. ;
  524. ; ... or under UNIX:
  525. ;
  526. ;   extension=msql.so
  527. ;
  528. ; Note that it should be the name of the module only; no directory information 
  529. ; needs to go here.  Specify the location of the extension with the
  530. ; extension_dir directive above.
  531.  
  532.  
  533. ;Windows Extensions
  534. ;Note that MySQL and ODBC support is now built in, so no dll is needed for it.
  535. ;
  536. ;extension=php_bz2.dll
  537. ;extension=php_cpdf.dll
  538. ;extension=php_crack.dll
  539. ;extension=php_curl.dll
  540. ;extension=php_db.dll
  541. ;extension=php_dba.dll
  542. ;extension=php_dbase.dll
  543. ;extension=php_dbx.dll
  544. ;extension=php_domxml.dll
  545. ;extension=php_exif.dll
  546. ;extension=php_fbsql.dll
  547. ;extension=php_fdf.dll
  548. ;extension=php_filepro.dll
  549. ;extension=php_gd.dll
  550. ;extension=php_gd2.dll
  551. ;extension=php_gettext.dll
  552. ;extension=php_hyperwave.dll
  553. ;extension=php_iconv.dll
  554. ;extension=php_ifx.dll
  555. ;extension=php_iisfunc.dll
  556. ;extension=php_imap.dll
  557. ;extension=php_interbase.dll
  558. ;extension=php_java.dll
  559. ;extension=php_ldap.dll
  560. ;extension=php_mbstring.dll
  561. ;extension=php_mcrypt.dll
  562. ;extension=php_mhash.dll
  563. ;extension=php_mime_magic.dll
  564. ;extension=php_ming.dll
  565. ;extension=php_mssql.dll
  566. ;extension=php_msql.dll
  567. ;extension=php_oci8.dll
  568. ;extension=php_openssl.dll
  569. ;extension=php_oracle.dll
  570. ;extension=php_pdf.dll
  571. ;extension=php_pgsql.dll
  572. ;extension=php_printer.dll
  573. ;extension=php_shmop.dll
  574. ;extension=php_snmp.dll
  575. ;extension=php_sockets.dll
  576. ;extension=php_sybase_ct.dll
  577. ;extension=php_w32api.dll
  578. ;extension=php_xmlrpc.dll
  579. ;extension=php_xslt.dll
  580. ;extension=php_yaz.dll
  581. ;extension=php_zip.dll
  582.  
  583.  
  584. ;;;;;;;;;;;;;;;;;;;
  585. ; Module Settings ;
  586. ;;;;;;;;;;;;;;;;;;;
  587.  
  588. [Syslog]
  589. ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
  590. ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
  591. ; runtime, you can define these variables by calling define_syslog_variables().
  592. define_syslog_variables  = Off
  593.  
  594. [mail function]
  595. ; For Win32 only.
  596. SMTP = localhost
  597.  
  598. ; For Win32 only.
  599. sendmail_from = me@localhost.com
  600.  
  601. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
  602. ;sendmail_path =
  603.  
  604. [Java]
  605. ;java.class.path = .\php_java.jar
  606. ;java.home = c:\jdk
  607. ;java.library = c:\jdk\jre\bin\hotspot\jvm.dll 
  608. ;java.library.path = .\
  609.  
  610. [SQL]
  611. sql.safe_mode = Off
  612.  
  613. [ODBC]
  614. ;odbc.default_db    =  Not yet implemented
  615. ;odbc.default_user  =  Not yet implemented
  616. ;odbc.default_pw    =  Not yet implemented
  617.  
  618. ; Allow or prevent persistent links.
  619. odbc.allow_persistent = On
  620.  
  621. ; Check that a connection is still valid before reuse.
  622. odbc.check_persistent = On
  623.  
  624. ; Maximum number of persistent links.  -1 means no limit.
  625. odbc.max_persistent = -1
  626.  
  627. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  628. odbc.max_links = -1  
  629.  
  630. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
  631. ; passthru.
  632. odbc.defaultlrl = 4096  
  633.  
  634. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
  635. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
  636. ; of uodbc.defaultlrl and uodbc.defaultbinmode
  637. odbc.defaultbinmode = 1  
  638.  
  639. [MySQL]
  640. ; Allow or prevent persistent links.
  641. mysql.allow_persistent = On
  642.  
  643. ; Maximum number of persistent links.  -1 means no limit.
  644. mysql.max_persistent = -1
  645.  
  646. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  647. mysql.max_links = -1
  648.  
  649. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
  650. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
  651. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
  652. ; at MYSQL_PORT.
  653. mysql.default_port =
  654.  
  655. ; Default socket name for local MySQL connects.  If empty, uses the built-in
  656. ; MySQL defaults.
  657. mysql.default_socket =
  658.  
  659. ; Default host for mysql_connect() (doesn't apply in safe mode).
  660. mysql.default_host =
  661.  
  662. ; Default user for mysql_connect() (doesn't apply in safe mode).
  663. mysql.default_user =
  664.  
  665. ; Default password for mysql_connect() (doesn't apply in safe mode).
  666. ; Note that this is generally a *bad* idea to store passwords in this file.
  667. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
  668. ; and reveal this password!  And of course, any users with read access to this
  669. ; file will be able to reveal the password as well.
  670. mysql.default_password =
  671.  
  672. ; Maximum time (in secondes) for connect timeout. -1 means no limimt
  673. mysql.connect_timeout = -1
  674.  
  675. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
  676. ; SQL-Erros will be displayed.
  677. mysql.trace_mode = Off
  678.  
  679. [mSQL]
  680. ; Allow or prevent persistent links.
  681. msql.allow_persistent = On
  682.  
  683. ; Maximum number of persistent links.  -1 means no limit.
  684. msql.max_persistent = -1
  685.  
  686. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  687. msql.max_links = -1
  688.  
  689. [PostgresSQL]
  690. ; Allow or prevent persistent links.
  691. pgsql.allow_persistent = On
  692.  
  693. ; Detect broken persistent links always with pg_pconnect(). 
  694. ; Auto reset feature requires a little overheads.
  695. pgsql.auto_reset_persistent = Off
  696.  
  697. ; Maximum number of persistent links.  -1 means no limit.
  698. pgsql.max_persistent = -1
  699.  
  700. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  701. pgsql.max_links = -1
  702.  
  703. ; Ignore PostgreSQL backends Notice message or not.
  704. ; Notice message logging require a little overheads.
  705. pgsql.ignore_notice = 0
  706.  
  707. ; Log PostgreSQL backends Noitce message or not.
  708. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
  709. pgsql.log_notice = 0
  710.  
  711. [Sybase]
  712. ; Allow or prevent persistent links.
  713. sybase.allow_persistent = On
  714.  
  715. ; Maximum number of persistent links.  -1 means no limit.
  716. sybase.max_persistent = -1
  717.  
  718. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  719. sybase.max_links = -1
  720.  
  721. ;sybase.interface_file = "/usr/sybase/interfaces"
  722.  
  723. ; Minimum error severity to display.
  724. sybase.min_error_severity = 10
  725.  
  726. ; Minimum message severity to display.
  727. sybase.min_message_severity = 10
  728.  
  729. ; Compatability mode with old versions of PHP 3.0.
  730. ; If on, this will cause PHP to automatically assign types to results according
  731. ; to their Sybase type, instead of treating them all as strings.  This
  732. ; compatability mode will probably not stay around forever, so try applying
  733. ; whatever necessary changes to your code, and turn it off.
  734. sybase.compatability_mode = Off
  735.  
  736. [Sybase-CT]
  737. ; Allow or prevent persistent links.
  738. sybct.allow_persistent = On
  739.  
  740. ; Maximum number of persistent links.  -1 means no limit.
  741. sybct.max_persistent = -1
  742.  
  743. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  744. sybct.max_links = -1
  745.  
  746. ; Minimum server message severity to display.
  747. sybct.min_server_severity = 10
  748.  
  749. ; Minimum client message severity to display.
  750. sybct.min_client_severity = 10
  751.  
  752. [dbx]
  753. ; returned column names can be converted for compatibility reasons
  754. ; possible values for dbx.colnames_case are
  755. ; "unchanged" (default, if not set)
  756. ; "lowercase"
  757. ; "uppercase"
  758. ; the recommended default is either upper- or lowercase, but
  759. ; unchanged is currently set for backwards compatibility
  760. dbx.colnames_case = "lowercase"
  761.  
  762. [bcmath]
  763. ; Number of decimal digits for all bcmath functions.
  764. bcmath.scale = 0
  765.  
  766. [browscap]
  767. ;browscap = extra/browscap.ini
  768.  
  769. [Informix]
  770. ; Default host for ifx_connect() (doesn't apply in safe mode).
  771. ifx.default_host =
  772.  
  773. ; Default user for ifx_connect() (doesn't apply in safe mode).
  774. ifx.default_user =
  775.  
  776. ; Default password for ifx_connect() (doesn't apply in safe mode).
  777. ifx.default_password =
  778.  
  779. ; Allow or prevent persistent links.
  780. ifx.allow_persistent = On
  781.  
  782. ; Maximum number of persistent links.  -1 means no limit.
  783. ifx.max_persistent = -1
  784.  
  785. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
  786. ifx.max_links = -1
  787.  
  788. ; If on, select statements return the contents of a text blob instead of its id.
  789. ifx.textasvarchar = 0
  790.  
  791. ; If on, select statements return the contents of a byte blob instead of its id.
  792. ifx.byteasvarchar = 0
  793.  
  794. ; Trailing blanks are stripped from fixed-length char columns.  May help the
  795. ; life of Informix SE users.
  796. ifx.charasvarchar = 0
  797.  
  798. ; If on, the contents of text and byte blobs are dumped to a file instead of
  799. ; keeping them in memory.
  800. ifx.blobinfile = 0
  801.  
  802. ; NULL's are returned as empty strings, unless this is set to 1.  In that case,
  803. ; NULL's are returned as string 'NULL'.
  804. ifx.nullformat = 0
  805.  
  806. [Session]
  807. ; Handler used to store/retrieve data.
  808. session.save_handler = files
  809.  
  810. ; Argument passed to save_handler.  In the case of files, this is the path
  811. ; where data files are stored. Note: Windows users have to change this 
  812. ; variable in order to use PHP's session functions.
  813. session.save_path = /tmp
  814.  
  815. ; Whether to use cookies.
  816. session.use_cookies = 1
  817.  
  818. ; This option enables administrators to make their users invulnerable to 
  819. ; attacks which involve passing session ids in URLs; defaults to 0.
  820. ; session.use_only_cookies = 1
  821.  
  822. ; Name of the session (used as cookie name).
  823. session.name = PHPSESSID
  824.  
  825. ; Initialize session on request startup.
  826. session.auto_start = 0
  827.  
  828. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
  829. session.cookie_lifetime = 0
  830.  
  831. ; The path for which the cookie is valid.
  832. session.cookie_path = /
  833.  
  834. ; The domain for which the cookie is valid.
  835. session.cookie_domain =
  836.  
  837. ; Handler used to serialize data.  php is the standard serializer of PHP.
  838. session.serialize_handler = php
  839.  
  840. ; Define the probability that the 'garbage collection' process is started
  841. ; on every session initialization.
  842. ; The probability is calculated by using gc_probability/gc_dividend,
  843. ; e.g. 1/100 means 1%.
  844.  
  845. session.gc_probability = 1
  846. session.gc_dividend    = 1000
  847.  
  848. ; After this number of seconds, stored data will be seen as 'garbage' and
  849. ; cleaned up by the garbage collection process.
  850. session.gc_maxlifetime = 1440
  851.  
  852. ; PHP 4.2 and less have an undocumented feature/bug that allows you to
  853. ; to initialize a session variable in the global scope, albeit register_globals
  854. ; is disabled.  PHP 4.3 and later will warn you, if this feature is used.
  855. ; You can disable the feature and the warning seperately. At this time,
  856. ; the warning is only displayed, if bug_compat_42 is enabled.
  857.  
  858. session.bug_compat_42 = 0
  859. session.bug_compat_warn = 1
  860.  
  861. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
  862. ; HTTP_REFERER has to contain this substring for the session to be
  863. ; considered as valid.
  864. session.referer_check =
  865.  
  866. ; How many bytes to read from the file.
  867. session.entropy_length = 0
  868.  
  869. ; Specified here to create the session id.
  870. session.entropy_file =
  871.  
  872. ;session.entropy_length = 16
  873.  
  874. ;session.entropy_file = /dev/urandom
  875.  
  876. ; Set to {nocache,private,public,} to determine HTTP caching aspects.
  877. ; or leave this empty to avoid sending anti-caching headers.
  878. session.cache_limiter = nocache
  879.  
  880. ; Document expires after n minutes.
  881. session.cache_expire = 180
  882.  
  883. ; trans sid support is disabled by default.
  884. ; Use of trans sid may risk your users security.
  885. ; Use this option with caution.
  886. ; - User may send URL contains active session ID
  887. ;   to other person via. email/irc/etc.
  888. ; - URL that contains active session ID may be stored
  889. ;   in publically accessible computer. 
  890. ; - User may access your site with the same session ID
  891. ;   always using URL stored in browser's history or bookmarks.
  892. session.use_trans_sid = 0
  893.  
  894. ; The URL rewriter will look for URLs in a defined set of HTML tags.
  895. ; form/fieldset are special; if you include them here, the rewriter will
  896. ; add a hidden <input> field with the info which is otherwise appended
  897. ; to URLs.  If you want XHTML conformity, remove the form entry.
  898. ; Note that all valid entries require a "=", even if no value follows.
  899. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  900.  
  901. [MSSQL]
  902. ; Allow or prevent persistent links.
  903. mssql.allow_persistent = On
  904.  
  905. ; Maximum number of persistent links.  -1 means no limit.
  906. mssql.max_persistent = -1
  907.  
  908. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
  909. mssql.max_links = -1
  910.  
  911. ; Minimum error severity to display.
  912. mssql.min_error_severity = 10
  913.  
  914. ; Minimum message severity to display.
  915. mssql.min_message_severity = 10
  916.  
  917. ; Compatability mode with old versions of PHP 3.0.
  918. mssql.compatability_mode = Off
  919.  
  920. ; Valid range 0 - 2147483647.  Default = 4096.
  921. ;mssql.textlimit = 4096
  922.  
  923. ; Valid range 0 - 2147483647.  Default = 4096.
  924. ;mssql.textsize = 4096
  925.  
  926. ; Limits the number of records in each batch.  0 = all records in one batch.
  927. ;mssql.batchsize = 0
  928.  
  929. ; Use NT authentication when connecting to the server
  930. mssql.secure_connection = Off
  931.  
  932. ; Specify max number of processes. Default = 25
  933. ;mssql.max_procs = 25
  934.  
  935. [Assertion]
  936. ; Assert(expr); active by default.
  937. ;assert.active = On
  938.  
  939. ; Issue a PHP warning for each failed assertion.
  940. ;assert.warning = On
  941.  
  942. ; Don't bail out by default.
  943. ;assert.bail = Off
  944.  
  945. ; User-function to be called if an assertion fails.
  946. ;assert.callback = 0
  947.  
  948. ; Eval the expression with current error_reporting().  Set to true if you want
  949. ; error_reporting(0) around the eval().
  950. ;assert.quiet_eval = 0
  951.  
  952. [Ingres II]
  953. ; Allow or prevent persistent links.
  954. ingres.allow_persistent = On
  955.  
  956. ; Maximum number of persistent links.  -1 means no limit.
  957. ingres.max_persistent = -1
  958.  
  959. ; Maximum number of links, including persistents.  -1 means no limit.
  960. ingres.max_links = -1
  961.  
  962. ; Default database (format: [node_id::]dbname[/srv_class]).
  963. ingres.default_database =
  964.  
  965. ; Default user.
  966. ingres.default_user =
  967.  
  968. ; Default password.
  969. ingres.default_password =
  970.  
  971. [Verisign Payflow Pro]
  972. ; Default Payflow Pro server.
  973. pfpro.defaulthost = "test-payflow.verisign.com"
  974.  
  975. ; Default port to connect to.
  976. pfpro.defaultport = 443
  977.  
  978. ; Default timeout in seconds.
  979. pfpro.defaulttimeout = 30
  980.  
  981. ; Default proxy IP address (if required).
  982. ;pfpro.proxyaddress =
  983.  
  984. ; Default proxy port.
  985. ;pfpro.proxyport =
  986.  
  987. ; Default proxy logon.
  988. ;pfpro.proxylogon =
  989.  
  990. ; Default proxy password.
  991. ;pfpro.proxypassword =
  992.  
  993. [Sockets]
  994. ; Use the system read() function instead of the php_read() wrapper.
  995. sockets.use_system_read = On
  996.  
  997. [com]
  998. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
  999. ;com.typelib_file = 
  1000. ; allow Distributed-COM calls
  1001. ;com.allow_dcom = true
  1002. ; autoregister constants of a components typlib on com_load()
  1003. ;com.autoregister_typelib = true
  1004. ; register constants casesensitive
  1005. ;com.autoregister_casesensitive = false
  1006. ; show warnings on duplicate constat registrations
  1007. ;com.autoregister_verbose = true
  1008.  
  1009. [Printer]
  1010. ;printer.default_printer = ""
  1011.  
  1012. [mbstring]
  1013. ; language for internal character representation.
  1014. ;mbstring.language = Japanese
  1015.  
  1016. ; internal/script encoding.
  1017. ; Some encoding cannot work as internal encoding.
  1018. ; (e.g. SJIS, BIG5, ISO-2022-*)
  1019. ;mbstring.internal_encoding = EUC-JP
  1020.  
  1021. ; http input encoding.
  1022. ;mbstring.http_input = auto
  1023.  
  1024. ; http output encoding. mb_output_handler must be
  1025. ; registered as output buffer to function
  1026. ;mbstring.http_output = SJIS
  1027.  
  1028. ; enable automatic encoding translation accoding to 
  1029. ; mbstring.internal_encoding setting. Input chars are
  1030. ; converted to internal encoding by setting this to On.
  1031. ; Note: Do _not_ use automatic encoding translation for
  1032. ;       portable libs/applications.
  1033. ;mbstring.encoding_translation = Off
  1034.  
  1035. ; automatic encoding detection order.
  1036. ; auto means 
  1037. ;mbstring.detect_order = auto
  1038.  
  1039. ; substitute_character used when character cannot be converted
  1040. ; one from another
  1041. ;mbstring.substitute_character = none;
  1042.  
  1043. ; overload(replace) single byte functions by mbstring functions.
  1044. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
  1045. ; etc. Possible values are 0,1,2,4 or combination of them.
  1046. ; For example, 7 for overload everything.
  1047. ; 0: No overload
  1048. ; 1: Overload mail() function
  1049. ; 2: Overload str*() functions
  1050. ; 4: Overload ereg*() functions
  1051. ;mbstring.func_overload = 0
  1052.  
  1053. [FrontBase]
  1054. ;fbsql.allow_persistent = On
  1055. ;fbsql.autocommit = On
  1056. ;fbsql.default_database = 
  1057. ;fbsql.default_database_password =
  1058. ;fbsql.default_host =
  1059. ;fbsql.default_password =
  1060. ;fbsql.default_user = "_SYSTEM"
  1061. ;fbsql.generate_warnings = Off
  1062. ;fbsql.max_connections = 128
  1063. ;fbsql.max_links = 128
  1064. ;fbsql.max_persistent = -1
  1065. ;fbsql.max_results = 128
  1066. ;fbsql.batchSize = 1000
  1067.  
  1068. [Crack]
  1069. ; Modify the setting below to match the directory location of the cracklib
  1070. ; dictionary files.  Include the base filename, but not the file extension.
  1071. ; crack.default_dictionary = "c:\php\lib\cracklib_dict"
  1072.  
  1073. [exif]
  1074. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS. 
  1075. ; With mbstring support this will automatically be converted into the encoding
  1076. ; given by corresponding encode setting. When empty mbstring.internal_encoding 
  1077. ; is used. For the decode settings you can distinguish between motorola and 
  1078. ; intel byte order. A decode setting cannot be empty.
  1079. ;exif.encode_unicode = ISO-8859-15
  1080. ;exif.decode_unicode_motorola = UCS-2BE
  1081. ;exif.decode_unicode_intel    = UCS-2LE
  1082. ;exif.encode_jis = 
  1083. ;exif.decode_jis_motorola = JIS
  1084. ;exif.decode_jis_intel    = JIS
  1085.  
  1086. ; Local Variables:
  1087. ; tab-width: 4
  1088. ; End:
  1089.